﻿using Light.Framework.Contract;
using Light.Weixin.Model;

namespace Light.Weixin.Contract
{
    /// <summary>
    /// 微信消息数据访问组件
    /// </summary>
    public interface IWxUserInfoComponent : IComponent<WxUserInfo>, IDataImport
    {
        /// <summary>
        /// 根据openid获取用户
        /// </summary>
        /// <param name="openid"></param>
        /// <returns></returns>
        WxUserInfo Get(string openid);
    }
}
